home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
007a
/
cal_ms10.zip
/
CALENDAR.DOC
next >
Wrap
Text File
|
1991-11-08
|
29KB
|
650 lines
CALENDAR displays and can write it to your w.p.
version 1.0 (c) copy right 1990 All Rights Reserved
Do you remember what day of the week your appointment next
year was on? How can you conveniently tell your client your
schedule? Were you born on a Friday or a Saturday?
This lets you pop up a calendar and see last/next month/year/
decade. As long as you popped this up over a word processor
in INSERT mode or OVERWRITE mode, the calendar can be copied
to your w.p. by exiting the menu with <ntr> like this. (If
you use WordPerfect, set key speed to REGULAR!) If there
are not enough blank lines to begin with, the calendar month
may print on one line!
8:38 AM <- INS key adds this line
Jul 1990 <- This and below appear
Sun Mon Tue Wed Thu Fri Sat automatically.
1 2 3 4 5 6 7 PgUp/PgDn for last/next
8 9 10 11 12 13 14 month. Cursor up/dn for
15 16 17 18 19 20 21 last next year. Home/end
22 23 24 25 26 27 28 for last/next decade.
29 30 31 <esc> aborts without
sending calendar to your
word processor.
Pressing down on BOTH the left and the right shift keys
stops this so that you can enter only the time or time and
date. The blank space between the "Jul 1990" has the
current day if it is today and the cursor points to it.
If your word processor does not accept the auto-insertion
via the <ntr>, press on the space bar to exit. Keep
pressing on the space bar and the calendar will be sent to
your word processor.
The set up of this document is as follows:
Explanations of various in-line command parameters.
How CALENDAR works.
Chat.
Prompts and messages generated by CALENDAR.
Disclaimer, contribution $/address, info for sysops and
shareware distributors.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
ON-LINE COMMAND PARAMETERS
CALENDAR parameters<ntr> explanations
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you simply type
CALENDAR<ntr>
then you get the help screen only. CALENDAR will not
become memory resident.
The "<ntr>" is our way of saying <CR>, ^M, ^13, <ENTER>,
carriage return, <ENTER> etc which all mean the same thing.
We also use <bks> for backspace, <esc> for the escape key,
and "any key" to mean any function key, cursor key, letters,
etc etc. There is no one key with the word "any".
In case you're wondering about the wastefulness of storing
such mini-helps in the program, this and many other
messages stored in CALENDAR do not occupy any space when
memory resident.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
To run this, simply type
CALENDAR RUN<ntr>
and end it with an <ENTER> or <ntr> or <cr> or anything
else you want to call the carriage return. This document
and all documents by my group uses the "<ntr>" format.
Just the letter "r" in "run" will work also.
Any other command or text after the Run parameter is
ignored. The Run parameter is used when you run CALENDAR
without setting any other parameter.
--------------------------------------------------------------
CALENDAR itself and all programs hence forth lost the
self-wipe feature, the ability to wipe any and all other
memory resident programs loaded after this program.
(unless I start hearing otherwise)
--------------------------------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you don't want to use the default altM key combination to
pop up the menu, then you have a choice of a few hundred
others to choose from.
The allowed key combinations are function keys, cursor keys,
ctrl/shift/alt with function keys, alt with letters or
numbers, etc. But these are probably used by your word
processor or other softwares. In that case, you can choose
the combination made of pressing down on the alt key and
while keeping it pressed, typing the numbers "1" through
"255" on the numeric keypad to the right side of the regular
keyboard. This is normally used to enter chr$(128) through
chr$(255) into word processors which allow the use of
extended ascii characters.
To find what command parameter you need to make any of these
combinations act as the new menu hot key, type
CALENDAR M<ntr>
This will ask you to type any valid key combination which
can be used as a new menu hot key. If you press down on the
altM key combination at this time, then it responds with a
you need
M 50,000
and if you enter the command parameter
CALENDAR M50,000<ntr>
then altM will act as the menu's pop up hot key combination
as is the default.
If you pressed down on the alt+ combination, then it tells
you that you need
CALENDAR M131,000<ntr>
to make alt+ the menu's pop up hot key.
As you can see, to make altM, alt-, control-F1 and
other keys into the new menu hot key, numbers are
followed by three zeros.
If you pressed down on the alt key and while keeping it
pressed down, you type "22" on the numeric keypad on the
right side of the keyboard before letting go of the alt key,
then
CALENDAR M22<ntr>
will make this the new hot key for the menu.
CALENDAR ignores the comma "," and counts the number only.
The comma is only for your sake, so
CALENDAR M131000<ntr>
will also make alt+ the new hot key. But
CALENDAR M131 000<ntr>
will not work since CALENDAR accepts the space between the
"131" and "000" as the beginning of a new command parameter.
CALENDAR M1310,00<ntr>
will work since the location of the comma is not significant
and is ignored anyway. But
CALENDAR M131.000<ntr>
will get CALENDAR confused since it accepts the period as
the terminator of "131" and tries to process it as a new
command parameter which begins with ".000" and aborts.
CALENDAR M 131,000<ntr>
with the space between the Menu parameter and the number is
allowed because CALENDAR will search for a number as soon
as it encounters the Menu parameter, but
CALENDAR M131,022<ntr>
is not allowed because you are asking for two separate hot
keys to pop up the menu.
The internal counter can count up to 4,000,000,000 but all
numbers not allowed will be rejected.
While the prompting parameter with
CALENDAR M<ntr>
only displays valid key combinations which are accepted by
your computer, you can do
CALENDAR M255,000<ntr>
will cause CALENDAR to run with an impossible code which no
standard keyboard can normally generate. If you have a
special memory resident program which can do substitution,
fine. If not, this will make CALENDAR run without anyway
for anyone to see the calendar menu.
CALENDAR RUN M131000<ntr>
does not run with alt+ as the pop up hot key for the menu.
It runs with the default altM key combination because
everything after the Run parameter is ignored. After all,
the Run parameter is only used when no other parameter is
used to make this memory resident, and everything else after
this is ignored.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The pop up by default will appear on the left top column
and row, in other words on the column one and row one. To
change the default row and column of the left top corner of
the pop up menu, type
CALENDAR -5 !8
The top row is set for row five and the left column is set
for column eight. If only the row value exists as in
CALENDAR -4
Then the top row is set for row five and the left column
takes on the default value of one. Similarly, if the
column value exists but no row value is given, then row
value is set for one by default.
The row value must be 51 or less and the column value must
be 40 or less. If you set the row value for anything above
14 on a CGA (color graphic adaptor) or a monochrome adaptor
equipped monitor, the pop up menu will not appear properly.
This excessively large value is only useful if you use an
EGA, VGA or higher video cards.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you have a color monitor, or at least a monochrome/amber
monitor, you can try a pop up other than the default white
letter on black background. Of course, even with a green
phosphor black/white monitor, you can try this to avoid
screen burn outs.
CALENDAR A7<ntr>
This sets the screen for white letter on black background.
Of course, on amber monitor, it appears as amber. On green
monitors, there are only a few useful values (A7, A112) with
the rest appearing as vertically striated characters.
On laptops, the screen color dictates how it will appear.
To change the color on a color monitor to blue letters on
black, type
CALENDAR A1
The values are the following for letter colors. To get the
color for the background, multiply by 16 and add to the
letter color value.
0 black 8 gray
1 blue 9 light blue
2 green 10 light green
3 cyan 11 light cyan
4 red 12 light red
5 magenta 13 light magenta
6 brown 14 yellow
7 white 15 bright white
For example, to get blue letters on green background, use
CALENDAR A33<ntr>
since green background is 2 * 16 and blue letter is 1.
( 2 * 16 + 1 = 33 )
On IBM color monitors, the distinction is clear. On older
NEC MultiSync and similar monitors, the intensity control
has to be kept above a certain threshold before they
become distinct.
On monochrome, the white letter on black background default
is recommended. Many combinations produce non-displaying
characters.
If you have Hercules' RAM Font or IBM EGA/VGA with expanded
character set beyond 256, then this may produce unusual
effects with the font displayed reflecting the color
combinations. Be careful if you have these cards: Changing
the color table in EGA/VGA can affect the way the display
looks.
The reason why this is called an "A"ttribute, rather than a
"C"olor parameter is because on non-color monitors, this
controls whether the letter is regular, high-intensity,
reverse, blinking etc. And none of these are in color.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you can make an ascii file with a few months of a
calendar, it can printed with your word processor in any
size your printer allows. But if your simple word processor
is more like an editor when it comes to selecting fonts,
then a built-in feature for EPSON printer can set the
printer for a few fonts: Superscript, italic, wide,
condensed, elite and pica. These are options available on
an EPSON LQ printer. On IBM printers, the italic are
replaced by the extended ascii. The elite and pica are not
available on earlier MX printers. The variable line spacing
of #/180" is an LQ feature. Many others have #/216".
CALENDAR P<ntr>
This will display the print menu. Type the letter before
the features and the proper printer coding is sent to your
printer. <esc> aborts.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
HOW CALENDAR WORKS
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PREFACE: This is a gregorian calendar, a revised Julian
calendar which originated in 1582 to correct the displaced
vernal equinox. This calendar was adapted in Britain and
North America in 1752. Hence dates generated by this
program prior to these dates may be misdated by as much as
10 days when compared to the older pre-gregorian calendars.
Of course, North Americans who slept on that fateful
night in 1752 slept for "10" days. That's 200 winks.
To run CALENDAR, type from the DOS prompt
CALENDAR RUN<ntr>
The first thing CALENDAR does is to check to see if
another copy of CALENDAR is already in memory or not. The
program will abort if it is already in memory.
As long as the parameters are alright, they are set and the
program become memory resident. Type the altM key
combination (or anything else you chose) to pop up the
calendar. The calendar menu points to the present month as
set by your clock. How type
-------- -------------------------------------------------
|<esc> | |<ntr> |Home | cursor up | page up |
|aborts| |send to wp|last decade| last year | last month|
-------- =================================================
|End | cursor down| page down |
|next decade| next year | next month|
--------------------------------------
|INS |
|Inserts time|
--------------
The F1 key has the help you need.
If you want to abort as with <esc> and don't want to send
the calendar to your word processor, but you want to see the
calendar and type your text based on what you see on the
calendar, then type the letter "K" to keep the calendar on
screen and go back to your word processor.
In this mode, the calendar is only left on your screen.
It is not sent to your word processor so that as soon
as you scroll the text up/down or display a help
menu,(your w.p.'s, not SHELLP.EXE and other pop ups)
the calendar month will be wiped out.
To send the calendar month to your word processor, type
<ntr>.
If your word processor or a memory resident program has
a key speed up option, turn them OFF. This program may
interfere with some other macro key programs you have.
If you want to send the calendar month to your word
processor, your word processor had to be in insert
mode or overwrite mode or other typeable mode. If it
was in command mode, help mode or other non-typing
modes, then your word processor will act wildly.
To abort the calendar month being sent to your word
processor, you can press down on BOTH the left and the
right shift keys. The month is designed to take about
20 - 25 seconds to appear, irregardless of your
computer, so that you can abort after the time or the
time and the date are sent to your word processor. You
don't like this slowness? Tell us. Or if you prefer
French, etc, or other than month-day-year format as
well.
Typing the pop up menu hot key is also designed to
stop this, but they you will have to get out of
the menu with this method.
As you can see, after each line is sent to your
software, a set of left cursors followed by one
down cursor is sent to move to the next line. As
a result, if your software did not have blank
lines, then everything may be sent to just one
line on your screen.
While the text is sent to your software, the
keyboard is active. If you type anything
inbetween, it will interfere with the
calendar month sent to your software.
The month is padded with spaces to the right so that
you can connect two months next to each other.
Combined with a regular printer, you can make a typical
calendar. With a dot matrix printer set for tiny
superscript or subscript, you can make a set of
calendar months suitable for attaching to your watch or
photocopied onto a letter head. Combined with a laser
printer and a large font set, you can make large
calendars as well. The parameter P allows some EPSON
settings to be set.
To move the menu itself to the right, first press down on
the scroll lock key. On AT-type keyboards and PS/2
keyboards, the appropriate light will light up. Now press
down on the right cursor key and the menu will move right.
Similarly, the left, up and down cursor keys will move the
menu around on the screen.
Type Home to move the menu back to the top left corner.
Type End to move the menu to row 15 left, which
corresponds to the bottom left corner on a 25 rows
screen.
If your word processor's key speed/macro or other macro key
softwares you have still interfere and prevents you from
sending the calendar month to your word processor, then
exit the menu using the space bar instead.
If you exit the menu with the space bar, the menu will
disappear as before, but as long as you keep pressing
down CONTINUOUSLY on the space bar, the calendar month
will be sent to your word processor. This mode turns
off as soon as
(1) the complete month is sent to your w.p., or
(2) you type any key other than the space bar, or
(3) you type the pop up menu's hot key.
If your word processor is not in a mode which
allows text to be typed, then this will not work.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CHAT in a HAT
I've seen so many magazines (even computer mags) whose PC
writer don't know much about computers that instead of just
complaining to them, I applied to the mags as a writer.
I'll be rejected because I'm not a writer, but at least you
can't say that I didn't try to correct wrongs. No wonder
the Europeans are calling U.S. the "sunset" nation; its own
people are spreading misinformation more efficiently than
the Russians can.
How efficient was Canada Post? The one in Montreal had bag
shake out machines: They take cargoes of parcels and drop
them about 6 feet to solid steel platforms. When a person
commented that they were destroying the parcels, the tour
guide, a manager, just gave the person a dirty look, while
parcel packing materials fly by. The conveyor belts only
drop them 4 - 5 feet after that to finish the job.
As the land of the rising sun rises in esteem, many books
and articles are published on it. There is one thing which
is often not stressed, though: Except for the former U.S.
ambassador's book on the subject, many are written by some
fella who lived there for a year (or even a few months).
If I stay in Hawaii for a month, can I write a book saying
that all Americans wear bathing suits or trunks, and aside
from the hotel bell boys, all Americans are basking in the
sun and hence no one works? P.S. There are real Americans
who go to Canada in mid-summer wearing winter clothing and
sweating in the 95F heat. Their explanation? "But, this is
Canada!". The moral? Don't believe everything you read.
Hmmm. May be you can't believe me either?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PROMPTS AND MESSAGES
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=
Unknown parameter found on the command line
=-=-=
Something not recognized was found on the line when you ran
the program. If you ran this program from a batch command
file, error messages are followed by errorlevel = 1 so that
you can have your batch file take appropriate actions.
Although CALENDAR.EXE is forgiving to sticking some parameters
next to each other without any separators, try putting
spaces inbetween.
=-=-=
You don't have to do it, CALENDAR is already in memory
=-=-=
You tried to run CALENDAR when a copy was already in
memory.
=-=-=
Attribute values A1 - A255 are the only values allowed
=-=-=
You tried to enter an attribute (color, if you have a color
monitor) other than that allowed. A112 gives black on
white. A1 on a color monitor gives blue on black, A2
gives blue on black (the black background looks like dark
green on some monitors) etc.
=-=-=
Initial top row value of menu can be 1 - 51 only
=-=-=
You tried to set the top row of the pop up menu at outside
of the range of 1 - 51. Default is 1 for display on the top
most row on your screen.
If you use any value higher than 14 on a 25 rows screen,
then you cannot see the calendar. The only reason why this
large a value exists is for people who have EGA/VGA or
higher rows monitor.
=-=-=
Initial left column value of menu can be 1 - 33 only
=-=-=
As with the row. If you may pop up the menu on a 40 columns
screen, do not make the value anything but 1.
=-=-=
I need a number between M1 - M255,000 as the menu hot key:
M1 - M255 for alt numeric keypad 1 - 255 acting as hot key,
M1,000 - M255,000 (1/10/100\'s places must be 0) for others,
such as alt=, ^F1 or Shift-F10 as the menu hot key,
See the document for detail.
=-=-=
=-=-=
Alt numeric keypad values 1 - 255 is the limit
=-=-=
You did not use the built-in feature to select a proper pop
up hot key or did not type it correctly on the command line.
=-=-=
Only alt numeric keypad OR regular key
combinations can be a menu hot key, not both.
=-=-=
You did not use the built-in feature to select a proper pop
up hot key or did not type it correctly on the command line.
=-=-=
Key combinations can only be 1 - 255
=-=-=
As with the two cases above.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
All products and names mentioned are Trademarks or
Registered Trademarks of their respective corporations or
companies. That includes my group or any other group's
programs, of course. Some products may have patent
protections as well.
All enclosed programs, documents and other files are
provided AS IS, without any warranty, expressed or implied,
including but not limited to fitness for a particular
purpose.
A contribution of $10 US/Canadian is appreciated if you
find this useful, or $20 for an improved one as it comes out.
($20 Cdn if you're in Canada and $20 U.S. for U.S & others,)
Unless you specify otherwise, you will get a 5-1/4" 360 kb
diskette. And if you only specify 3-1/2", it will be
formatted as 360kb/720kb on a 720kb or a 1.44Mb drive.
NAME OF THE PROGRAM: CALENDAR ($10-$20)
PURPOSE OF THIS PROGRAM:
Pops up a calendar month and see the previous/next month,
year or decade. Sends the month which you see to your word
processor underneath the pop up.
my OLD forwarding address was
Dr. Masaaki Sawada
University of Waterloo, Faculty of Science
Waterloo, Ontario Canada N2L 3G1
Please. Don't send anything there.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
For more permanency, contact
c/o Dr. Masaaki Sawada
LCS
P.O. Box 956
Outremont, Quebec
Canada H2V 4R8
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
----------------end-of-author's-documentation---------------
Software Library Information:
This disk copy provided as a service of
The Public (Software) Library
We are not the authors of this program, nor are we associated
with the author in any way other than as a distributor of the
program in accordance with the author's terms of distribution.
Please direct shareware payments and specific questions about
this program to the author of the program, whose name appears
elsewhere in this documentation. If you have trouble getting
in touch with the author, we will do whatever we can to help
you with your questions. All programs have been tested and do
run. To report problems, please use the form that is in the
file PROBLEM.DOC on many of our disks or in other written for-
mat with screen printouts, if possible. The P(s)L cannot de-
bug programs over the telephone.
Disks in the P(s)L are updated monthly, so if you did not get
this disk directly from the P(s)L, you should be aware that
the files in this set may no longer be the current versions.
For a copy of the latest monthly software library newsletter
and a list of the 1,000+ disks in the library, call or write
The Public (Software) Library
P.O.Box 35705
Houston, TX 77235-5705
(713) 665-7017